package com.guoxin.chapter7.extthread;

public class Run {
	
	//NEW
	//RUNNABLE
	//TERMINATED
	//BLACKED
	//WAITING
	// TIME_WAITING
	public static void main(String[] args) throws InterruptedException {
		MyThread t = new MyThread();
		System.out.println("main 方法中的状态1："+t.getState());
		Thread.sleep(1000);
		t.start();
		Thread.sleep(1000);
		System.out.println("main 方法中的状态2："+t.getState());
	}
}
